<template>
  <div>
    <van-tabbar active-color="#0fbe85" inactive-color="#000" v-model="active">
      <van-tabbar-item icon="home-o" to="/homepage">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/myclassify">分类</van-tabbar-item>
      <van-tabbar-item icon="font-o" to="/tianmao">天猫</van-tabbar-item>
      <van-tabbar-item icon="manager-o">未登录</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  // methods: {
  //   fun() {
  //     this.$router.push("/myclassify");
  //   },
  // },
  data() {
    return {
      active:3
    }
  },
};
</script>

<style scoped>
</style>